package com.graduationdesign.zengyan.graduationdesignapp.utils;

import android.view.View;
import android.widget.EditText;

/**
 * Created by ZengYan on 2018/4/21.
 *
 * @desc :
 */
public class WidgetUtils {

    public static boolean isVisiable(View view) {
        return view.getVisibility() == View.VISIBLE;
    }

    public static String getText(EditText editText) {
        String str = editText.getText().toString().trim();
        return str;
    }

}
